package cn.tedu.egmvc1.mapper;

import cn.tedu.egmvc1.pojo.entity.Address;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

//@Mapper
public interface AddressMapper {
    /* 添加收货地址 */
    int insertAddress(Address address);

    /*查询收货地址*/
    List<Address> selectAddress();
    /*删除收货地址*/
    int deleteAddress(int id);
    /*修改收货地址*/
    int updateAddress(Address address);
}
